package com.qf.service;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import javax.servlet.http.HttpSession;
import javax.swing.*;
import java.util.List;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author 86181
 * @Date 2022/9/13 14:37
 * @Version 1.0
 **/
public interface UserService {
    List<User> findAllUser();

    Boolean login(User user, HttpSession httpSession);

    int deleteUser(int id);

    int addUser(User user);

    User findUserById(int id);

    int updateUser(User user);

}